home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6944 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.9 KB

  1. Path: mack.rt66.com!pmd06
  2. From: egf@Rt66.com (Ed Franks)
  3. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++
  4. Subject: Re: C/C++ knocks the crap out of Ada
  5. Date: Tue, 20 Feb 96 19:57:59 GMT
  6. Organization: Engineering International, Inc.
  7. Message-ID: <4gd94r$isu@mack.rt66.com>
  8. References: <4etcmm$lpd@nova.dimensional.com>    <4f4ptt$a1c@newsbf02.news.aol.com> <4g1b7n$l5@mailhub.scitec.com.au> <JSA.96Feb16135027@organon.com> <4gaa6l$8mk@post.gsfc.nasa.gov>
  9. NNTP-Posting-Host: pmd06.rt66.com
  10. X-Newsreader: News Xpress Version 1.0 Beta #3
  11.  
  12. In article <4gaa6l$8mk@post.gsfc.nasa.gov>,
  13.    Mike Stark <michael.e.stark@gsfc.nasa.gov> wrote:
  14. >jsa@organon.com (Jon S Anthony) wrote:
  15. >>In article <4g1b7n$l5@mailhub.scitec.com.au> ramsesy@rd.scitec.com.au 
  16. (Ramses Youhana) writes:
  17. >>
  18. >>> You'll be surprised how easily both junior (and senior) engineers can turn
  19. >>> both C/C++ and Ada programs into spaghetti code.  The language itself
  20. >>> doesn't make for a quality system.
  21. >>
  22. >>Yes, but there are degrees of ease with which this can be done.  I think
  23. >>that was more to the point.
  24. >>
  25. >>
  26. >>> Didn't NASA loose a satelite due to a bug in a piece of Ada code?
  27. >>
  28. >>I don't think so.  I believe that the only confirmed case of a probe
  29. >>loss due to software was a Venus probe which had Fortran code (the
  30. >>problem was a "lexical" error concerning spaces not acting as lexical
  31. >>separators).  The recent Mars probe that "vanished" was (last I saw)
  32. >>thought to have been lost due to a small rupture in one of the on board
  33. >>tanks.  This caused the ship to go into uncontrolled tumbling.  I don't
  34. >>know what it was programmed with.
  35. >>
  36. >>/Jon
  37. >>-- 
  38. >>Jon Anthony
  39. >>Organon Motives, Inc.
  40. >>1 Williston Road, Suite 4
  41. >>Belmont, MA 02178
  42. >>
  43. >>617.484.3383
  44. >>jsa@organon.com
  45. >>
  46. >
  47. >Folks --
  48. >
  49. >The mere fact that Ada (or any other language) is used for a satellite does 
  50. not
  51. >guarantee that the software is reliable enough -- there is far more to 
  52. engineering
  53. >flight qualified software.  That being said, I would prefer a language that 
  54. can
  55. >use exception handling to recover from anomalies such as bit flips caused by
  56. >cosmic rays, and that doesn't allow unrestricted address arithmetic to 
  57. >(potentially) store data into the code currently in memory.  Ada isn't the 
  58. only
  59. >language designed for high reliability (Java and Eiffel leap to mind), but if 
  60. I
  61. >were a satellite project manager I would certainly prefer it to C or C++.
  62.   
  63. Yes, but you are not. Meanwhile, the software for the Mission Control Center 
  64. (MOC) at NASA Johnson Space Center is being rewritten in C++, not ADA.
  65.  
  66. >
  67. >Mike
  68. >
  69. >-----------------------------------------------------------------------
  70. >Michael Stark                                     NASA/GSFC                  
  71.                          
  72. >Phone: (301) 286-5048                             Code 552
  73. >Fax:   (301) 286-0245                             Greenbelt, MD 20771
  74. >e-mail: michael.e.stark@gsfc.nasa.gov
  75.  
  76. Ed Franks
  77.